f = open('test.txt', 'w')
f.write('hello world, i am here!')
f.close()

f = open('test.txt', 'r')
content = f.read(5)
print(content)
print("-" * 30)
content = f.read()
print(content)
f.close()
